package com.example.common.util.exception.file;

/**
 * @Author juzipi
 * @Date 2021/7/20 15:01
 * @Info 文件名称超长限制异常类
 */
public class FileNameLengthLimitExceededException extends FileException
{
    private static final long serialVersionUID = 1L;

    public FileNameLengthLimitExceededException(int defaultFileNameLength)
    {
        //这里就是 FileException 的构造器了，参数就是code，args
        super("upload.filename.exceed.length", new Object[] { defaultFileNameLength });
    }
}
